<%@page contentType="text/html; charset=UTF-8"
	trimDirectiveWhitespaces="true" pageEncoding="UTF-8"%>
<html>
<head>
<%@include file="/WEB-INF/include/include.jsp"%>
</head>
<body>
	<div class="layui-fluid">
		<div class="layui-row layui-col-space15">
			<div class="layui-col-md12">
				<div class="layui-card">
					<div class="layui-card-body" pad15>
						<form class="layui-form layui-form-pane"
							action="${pageContext.request.contextPath}/system/user/personal"
							method="post">
							<input type="hidden" name="id" value="${model.id }"> <input
								type="hidden" name="corpId" value="${model.corpId }">

							<div class="layui-row layui-col-space10">
								<div class="layui-col-md6">
									<label class="layui-form-label">账号</label>
									<div class="layui-input-block">
										<input type="text" value="${model.username}" readonly
											class="layui-input">
									</div>
								</div>
								<div class="layui-col-md6">
									<label class="layui-form-label">姓名</label>
									<div class="layui-input-block">
										<input type="text" value="${model.name}" readonly
											class="layui-input">
									</div>
								</div>
							</div>
							<div class="layui-row layui-col-space10">
									<div class="layui-col-md6">
										<label class="layui-form-label">部门</label>
										<div class="layui-input-block">
											<input type="text" value="${model.systemDept.name}" readonly
												class="layui-input">
										</div>
									</div>
									<div class="layui-col-md6">
										<label class="layui-form-label">职务</label>
										<div class="layui-input-block">
											<input type="text" value="${model.systemDuty.name}" readonly
												class="layui-input">
										</div>
									</div>
								</div>
								
								<div class="layui-row layui-col-space10">
                                    <div class="layui-col-md6">
                                        <label class="layui-form-label">岗位</label>
                                        <div class="layui-input-block">
                                            <input type="text" value="${model.systemJob.name}" readonly
                                                class="layui-input">
                                        </div>
                                    </div>
                                    <div class="layui-col-md6">
                                        <label class="layui-form-label">性别</label>
                                        <div class="layui-input-block">
                                            <input type="text" value="${model.genderVo.value}" readonly
                                                class="layui-input">
                                        </div>
                                    </div>
                                </div>
                                
                                <div class="layui-row layui-col-space10">
                                    <div class="layui-col-md6">
                                        <label class="layui-form-label">出生日期</label>
                                        <div class="layui-input-block">
                                            <input type="text" value="<fmt:formatDate value="${model.birthday}" pattern="yyyy-MM-dd" />" readonly
                                                class="layui-input">
                                        </div>
                                    </div>
                                    <div class="layui-col-md6">
                                        <label class="layui-form-label">工号</label>
                                        <div class="layui-input-block">
                                            <input type="text" value="${model.card}" readonly
                                                class="layui-input">
                                        </div>
                                    </div>
                                </div>

							<div class="layui-row layui-col-space10">
								<div class="layui-col-md6">
									<label class="layui-form-label">手机号</label>
									<div class="layui-input-block">
										<input type="text" value="${model.phone}" readonly
											class="layui-input">
									</div>
								</div>
								<div class="layui-col-md6">
									<label class="layui-form-label">邮箱</label>
									<div class="layui-input-block">
										<input type="text" value="${model.email}" readonly
											class="layui-input">
									</div>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>